//
//  XNTimerLabel.h
//  xndm_proj
//
//  Created by xn on 2021/5/8.
//  Copyright © 2021 Linfeng Song. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "XNTimerUIHelper.h"

NS_ASSUME_NONNULL_BEGIN

@class XNTimerLabel;

@interface XNTimerLabel : UILabel

@property (nonatomic, copy) TimerLabelProgressBlock progressBlock;
@property (nonatomic, assign) NSInteger duration; // default  =1 

- (void)startWithSeconds:(NSInteger)seconds;
- (void)cancelTimer;
@property (nonatomic, copy) NSString *countDownPrefixText;

@property (nonatomic, strong, readonly) XNTimerUIHelper *helper;

@end

NS_ASSUME_NONNULL_END
